package com.yyge.service;

import com.yyge.common.vo.req.PageReq;
import com.yyge.common.vo.resp.PageResp;
import com.yyge.controller.admin.product.req.ProductAddReq;
import com.yyge.controller.admin.product.req.ProductReq;
import com.yyge.controller.admin.product.resp.ProductResp;
import com.yyge.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Administrator
* @description 针对表【product(商品信息)】的数据库操作Service
* @createDate 2023-07-02 20:36:22
*/
public interface ProductService extends IService<Product> {

    PageResp search(ProductReq req);

    Product addProduct(ProductAddReq req);

    ProductResp searchById(ProductReq req, String id);
}
